import ILoginByWxCodeForm from '@/model/form/user/ILoginByWxCodeForm'
import IResVO from '@/model/vo/common/IResVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 微信code 登录
export default function loginByWxCodeApi(form: ILoginByWxCodeForm) {
  return $http.post<IResVO, AxiosResponse<IResVO>, ILoginByWxCodeForm>(
    '/login/wxCode',
    form
  )
}
